package com.uinnova.product.eam.dao;

import com.uinnova.product.eam.model.es.PlanHistoryData;
import com.uino.dao.AbstractESBaseDao;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

@Service
public class PlanHistoryDataDao extends AbstractESBaseDao<PlanHistoryData, PlanHistoryData> {

    @Override
    public String getIndex() {
        return "uino_cj_plan_history_data";
    }

    @Override
    public String getType() {
        return "_doc";
    }

    @PostConstruct
    public void init() {
        super.initIndex();
    }

}
